import Vue from "vue";
import VueRouter from "vue-router";
import CampusBinhai from "@/components/CampusBinhai.vue";
import CampusChashan from "@/components/CampusChashan.vue";
import CampusYueqing from "@/components/CampusYueqing.vue";
import StudentSystem from "@/components/StudentSystem.vue";

Vue.use(VueRouter);

const routes = [
  { path: "/", component: CampusBinhai },
  { path: "/CampusBinhai", component: CampusBinhai },
  { path: "/CampusChashan", component: CampusChashan },
  { path: "/CampusYueqing", component: CampusYueqing },
  { path: "/StudentSystem", component: StudentSystem },

]

const router = new VueRouter({
    mode: "history",
  routes,
})

export default router;